﻿<UserControl x:Class="DSTMEETING.Win.App.Popups.MeetingQueryPopup"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="0" Text="Begin:" Margin="5"/>
        <TextBlock Grid.Row="1" Grid.Column="0" Text="End:" Margin="5"/>
        <DatePicker Grid.Row="0" Grid.Column="1" Margin="5"/>
        <DatePicker Grid.Row="1" Grid.Column="1" Margin="5"/>
        <StackPanel Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Orientation="Horizontal"  Margin="5">
            <Button Content="今天" Margin="5"  Style="{StaticResource btn-danger}"/>
            <Button Content="本周" Margin="5"  Style="{StaticResource btn-danger}"/>
            <Button Content="本月" Margin="5"  Style="{StaticResource btn-danger}"/>
        </StackPanel>
        <Grid Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="5">
                <Button Content="Query" Margin="0,0,5,0" Style="{StaticResource btn-primary}" Click="Button_Click"/>
                <Button Content="Cancel" Margin="5,0,0,0" Name="btnCancel" Click="btnCancel_Click"/>
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>
